package ${package.Service};

import com.rxw.nutmall.page.PageData;
import ${package.Entity}.${entity};
import ${superServiceClassPackage};

import java.util.List;
import java.util.Map;

/**
 * <p>
 * ${table.comment!} 服务类
 * </p>
 *
 * @author ${author}
 * @since ${date}
 */
<#if kotlin>
interface ${table.serviceName} : ${superServiceClass}<${entity}>
<#else>
public interface ${table.serviceName} extends ${superServiceClass}<${entity}> {

    PageData<${entity}> page(Map<String, Object> params);

    ${entity} get(Long id);

    List<${entity}> getList(${entity} dto);

    String save(${entity} dto);

    void saveList(List<${entity}> list);

    void update(${entity} dto);

    void updateList(List<${entity}> list);

    void remove(Long id);

    void removeList(List<Long> idList);
}
</#if>
